package com.czz.ucenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czz.ucenter.entity.Admin;

/**
 * @ClassName: AdminService
 * @Author Czz
 * @Date 2019/12/24
 * @Time 9:50
 **/
public interface AdminService extends IService<Admin> {
    Admin login(String username, String password);
    void updatePassword(String id, String oldPassword, String newPassword);
}
